package com.example.wallet.db

import com.example.wallet.bean.BalanceInfoBean
import com.example.wallet.bean.TransferFeeBean
import com.example.wallet.bean.UserInfoWrapper

class BalanceInfoManager {

    companion object {

        val mBalanceInfoManager by lazy { BalanceInfoManager() }

    }

    private var mBalanceInfoBean: BalanceInfoBean? = null

    //手续费
    private var feeBeanBean: TransferFeeBean? = null

    fun getFeeBeanBean() = feeBeanBean

    fun saveFeeBeanBean(feeBeanBean: TransferFeeBean?) {
        this.feeBeanBean = feeBeanBean
    }

    fun getBalanceInfoBean(): BalanceInfoBean? {
        return mBalanceInfoBean
    }

    fun saveUserInfoWrapper(mBalanceInfoBean: BalanceInfoBean?) {
        this.mBalanceInfoBean = mBalanceInfoBean
    }

}